FROM openjdk:8
COPY target/oom-test-0.0.1-SNAPSHOT.jar /app.jar
ENTRYPOINT ["/bin/bash","-c","exec java ${JAVA_OPTS} -jar /app.jar"]